<md-content class="page-content toolbar-page">
	<div class="page-toolbar" layout>
		<div flex layout layout-align="start center">
			<md-button class="md-primary" ui-sref="member.account">
				<span class="icon icon-chevron-left"></span>
				会员账户交易详情
			</md-button>
		</div>
	</div>
	<md-content class="page-body data-sheet">
		<div class="sheet-body">
			<section>
				<md-list>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">{{detail.txtype|maccTxType}}
							</div>
							<div class="md-tile-content">
								<span ng-bind="detail.createtime|date:'fullDate'"></span>
							</div>
						</md-item-content>
					</md-item>
				</md-list>
			</section>
			<section>
				<md-list>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">时间
							</div>
							<div class="md-tile-content">
								<span ng-bind="detail.createtime|date:'shortTime'"></span>
							</div>
						</md-item-content>
					</md-item>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">交易类型
							</div>
							<div class="md-tile-content">
								{{detail.txtype|maccTxType}}
							</div>
						</md-item-content>
					</md-item>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">金额
							</div>
							<div class="md-tile-content l2-text">
								{{detail.amount|currency}}
							</div>
						</md-item-content>
					</md-item>
					<md-item>
						<md-item-content>
							<div class="md-tile-left">交易后账户余额
							</div>
							<div class="md-tile-content">
								{{detail.balance|currency}}
							</div>
						</md-item-content>
					</md-item>
					<md-item>
						<md-item-content ui-sref="member.order.detail({id: detail.orderno})">
							<div class="md-tile-left">关联订单
							</div>
							<div class="md-tile-content btn-link" ng-if="detail.txtype!='pay'">
								#{{detail.orderno}}
							</div>
							<div class="md-tile-content btn-link" ng-if="detail.txtype=='pay'" ui-sref="member.order.detail({id:detail.orderno})">
								#{{detail.orderno}}
							</div>
						</md-item-content>
					</md-item>
				</md-list>
			</section>
		</div>
	</md-content>
</md-content>
